public class StopRateResult extends Object implements OperationResult
StopRateOp operation.
transacSetToCancel is always empty and never returned.
Also, the attribute amountToCancel is never present.
When set to "false", this parameter completely skip the production of transactions to cancel.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="stopRateResult">
<xs:complexType>
<xs:sequence>
<xs:element name="transacSetToCleanup" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="transacSetToConfirm" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="transacSetToCancel" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="amountToConfirm" type="xs:string"/>
<xs:attribute name="amountToCancel" type="xs:string"/>
<xs:attribute name="accumulatedAmount" type="xs:string"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
StopRateResult()
Constructs an empty stop session result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
Money |
getAccumulatedAmount()
Gets accumulated amount of the session.
|
Money |
getAmountToCancel()
Gets the amount to cancel
=>CAN RETURN NULL
|
Money |
getAmountToConfirm()
Gets the amount to confirm.
|
String |
getName() |
String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
List<TransactionSet> |
getTransacSetsToCancel()
Gets the list of transactions sets to cancel.
|
List<TransactionSet> |
getTransacSetsToCleanup()
Gets the list of transactions set to cleanup.
|
List<TransactionSet> |
getTransacSetsToConfirm()
Gets the list of transactions sets to confirm.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAccumulatedAmount(Money amount)
Sets accumulated amount of the session.
|
void |
setAmountToCancel(Money amount)
Sets the amount to cancel.
|
void |
setAmountToConfirm(Money amount)
Sets the amount to confirm.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setOperandReference(String operandReference)
Sets the reference of the operand.
|
public String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void setOperandReference(String operandReference)
operandReference - the reference of the operand.public String getName()
public Money getAccumulatedAmount()
public void setAccumulatedAmount(Money amount)
amount - the accumulated amount.public Money getAmountToConfirm()
public void setAmountToConfirm(Money amount)
amount - the amount to confirm.public Money getAmountToCancel()
public void setAmountToCancel(Money amount)
amount - the amount to cancel.public List<TransactionSet> getTransacSetsToCleanup()
public List<TransactionSet> getTransacSetsToConfirm()
public List<TransactionSet> getTransacSetsToCancel()
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into